package com.goods.business.converter;

import com.goods.common.model.business.Supplier;
import com.goods.common.model.system.Department;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.DepartmentVO;
import org.springframework.beans.BeanUtils;

/**
 * projectName: goods
 *
 * @author: ysc
 * time: 2022/12/3 16:38 周六
 * description:
 */
public class SupplierConverter {

    public static SupplierVO converterToSupplierVO(Supplier supplier) {
        SupplierVO supplierVO = new SupplierVO();
        BeanUtils.copyProperties(supplier, supplierVO);
        return supplierVO;
    }
}
